package cn.dg.manager.order.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import cn.dg.manager.common.entity.GoodsComboboxBean;
import cn.dg.manager.common.entity.PageEntity;
import cn.dg.manager.order.entity.OrderDetailResultBean;
import cn.dg.manager.order.entity.OrderInfoResultBean;
import cn.dg.manager.order.entity.OrderPageParam;
import cn.dg.manager.order.entity.OrderEditPageBean;

public interface OrderService {

	public PageEntity<OrderInfoResultBean> getOrderListPage(Map<String, Object> mapParams);

	public long insertOrderInfo(OrderPageParam bean);

	public long deleteOrderInfo(List<String> asList);

	// 获取订单详情信息
	public List<OrderDetailResultBean> getOrderDetailInfo(Map<String, Object> params);

	public List<GoodsComboboxBean> getGoodsComboboxList();

	public long updateOrderInfo(OrderPageParam bean);

	/**
	 * 获取编辑的订单数据
	 * @param orderId
	 * @return
	 */
	public OrderEditPageBean getOrderInfo(String orderId);

	/**
	 * 根据订单号导出订单文件
	 * @param orderId
	 * @param response 
	 */
	public void exportExcelFile(String orderId, HttpServletResponse response);

}
